package ooday03;

/**
 * @author Administrator
 */
public class InterfaceDemo {
    public static void main(String[] args) {
        
    }
    
}
interface Inter1 {
    /**
     * 接口方法show()
     */
    void show();
}
class Aoo implements Inter1{
    @Override
    public void show() {
        System.out.println("大家好啊");
    }
}
interface Inter2 extends Inter1{
    /**
     * 接口方法test
     */
    void test();
}
class Boo extends Aoo implements  Inter2{
    @Override
    public void show() {

    }
    @Override
    public void test() {

    }
    void sayHi(){}
}
